package cn.ilikes.tools.nosql.jpa.clients.indexs.index.lucenes.asytools;

public interface ZookeeprLockFactory {
	
	public boolean islocalLock(String parents);

	public void start();
	
	public void addLock(String localLockId,String time);
	
	public void unLock(String lockId,String localLockId);
	
	public void release();
	
	public void stop();

}
